package com.xbongbong.pro.custombutton.pojo.dto;

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;

/**
 * @author 吴峰
 * @date 2021/03/05 11:06
 */
@Getter
@Setter
@ToString
public class CustomButtonListDTO extends BaseDTO {
    private static final long serialVersionUID = -5710533465274380993L;

    @NotNull(message = "{dto.msg.formId.NotNull}")
    private Long formId;

    @NotNull(message = "{saas标识不能为空}")
    private Integer saasMark;

    @NotNull(message = "{业务类型不能为空}")
    private Integer businessType;
    /**
     * @see com.xbongbong.pro.enums.lowcode.ButtonTypeEnum
     */
    private Integer type;

}
